#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>

int main()
{
  char* env[] = {
      "MYENV=THIS DEFINE ENV BY ME",
      "MYUSER=USER",
      "MYROOT=root",
      NULL 
  };
  if(fork()==0) {
    //execle("./my_exec", "my_exec", NULL, env);
    execlp("/usr/bin/python3", "python", "test.py", NULL);
    exit(1);
  }
  waitpid(-1, NULL,0);
  printf("This is parent process : %d!\n", getpid());
  return 0;
}
